//
//  RadioListView.m
//  Car
//
//  Created by 何晓文 on 15/9/18.
//  Copyright (c) 2015年 朱鸿儒. All rights reserved.
//

#import "RadioListView.h"

@implementation RadioListView

- (instancetype)initWithFrame:(CGRect)frame {
	if (self = [super initWithFrame:frame]) {
		//节目单label
		UILabel *title = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, kWidth, self.height * 0.15)];
		title.text = @"节目单";
		title.textAlignment = NSTextAlignmentCenter;
		title.textColor = [UIColor whiteColor];
		title.font = [UIFont systemFontOfSize:15];
		[self addSubview:title];
	
		//返回按钮
		self.backButton = [[UIButton alloc] initWithFrame:CGRectMake(0, self.height * 0.85, kWidth, self.height * 0.15)];
		[self.backButton setTitle:@"关闭" forState:(UIControlStateNormal)];
		[self.backButton setTitleColor:[UIColor whiteColor] forState:(UIControlStateNormal)];
		[self addSubview:self.backButton];
				self.userInteractionEnabled = YES;
		
	}
	return self;

}
@end
